<?php

ob_start();

?>
<table cellspacing="0" style="width: 100%;">
	<col style="width: 72%;" />
	<col style="width: 28%;" />	
<tr>

	<?php include "$contentFolder/page.elements/header.php"; ?>
	
</tr>
<tr>

	<?php include "$contentFolder/page.elements/bar.php"; ?>
	
</tr>
<tr>

	<td class="apper">
	
		<div style="
			margin-left: 3em;
			margin-right: 1em;
			margin-top: 2em;
		">
			
	<?php
	if ($PageID == 'home') 
	{
	?>
		
		
	<?php 
	}
	?>
		</div>
			
	</td>			
	<?php
	 
	if (empty($addressOnTop))
	{
		
		?>
		<td class="apper">
	
		
	 		<?php include "$contentFolder/page.elements/address.php"; ?>
			
		</td>
		<?php
		
	}
	else 
	{
		?>
		<td rowspan="2" class="apper">
	
		
	 		<?php include "$contentFolder/page.elements/sidebar.php"; ?>
			
		</td>
		<?php
	}
	?>
	
</tr>
<tr>
	<td class="apper">
	
		<?php echo $content; ?>
		
		<?php 	
		if ($PageID == 'home') 
		{	
		
		?>
				
		<?php 
		
		}

		?>			
	</td>		
		
	<?php
	 
	if (empty($addressOnTop))
	{
		?>
		<td class="apper">
	
	 		<?php include "$contentFolder/page.elements/sidebar.php"; ?>
			
		</td>
		<?php
						
	}
	?>
</tr>
</table><?php 

$content = ob_get_clean();

include "$contentFolder/page.elements/layout.php";

?>